xen.git
20 years agoFix the logic in vcpu_sleep_sync(): we must wait until
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 19:09:44 +0000 (19:09 +0000)]
Fix the logic in vcpu_sleep_sync(): we must wait until
the running flag is cleared *and* the scheduler lock is
released. Not just one or the other.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
20 years agoSome more resilience to errors in creating vbds etc; still needs more work
shand@ubuntu.eng.hq.xensource.com [Tue, 13 Sep 2005 18:03:04 +0000 (10:03 -0800)]
Some more resilience to errors in creating vbds etc; still needs more work
to tidy up things properly (e.g. the store state).

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoSwitch memory target handling to use xstransact.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:49:38 +0000 (17:49 +0000)]
Switch memory target handling to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:32:59 +0000 (17:32 +0000)]
g/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch vcpu hotplugging to use xstransact.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:31:13 +0000 (17:31 +0000)]
Switch vcpu hotplugging to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix domain list build/cleanup code with xend subdirectory.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 16:57:45 +0000 (16:57 +0000)]
Fix domain list build/cleanup code with xend subdirectory.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoIntroduceDomain of dom0 can fail when it's already connected.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 16:56:02 +0000 (16:56 +0000)]
IntroduceDomain of dom0 can fail when it's already connected.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix error handling code paths.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 16:55:21 +0000 (16:55 +0000)]
Fix error handling code paths.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:48:19 +0000 (15:48 +0000)]
merge?

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:46:49 +0000 (15:46 +0000)]
merge?

20 years agoFix imports.
emellor@ewan [Tue, 13 Sep 2005 15:44:48 +0000 (16:44 +0100)]
Fix imports.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:33:37 +0000 (15:33 +0000)]
merge?

20 years agoStore dom0 store ring-ref in store.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:32:38 +0000 (15:32 +0000)]
Store dom0 store ring-ref in store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch to IntroduceDomain, move xend info into xend subdirectory in store.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:21:53 +0000 (15:21 +0000)]
Switch to IntroduceDomain, move xend info into xend subdirectory in store.
Also switch store/console event channel and page reference store
entries over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove xshandle to xsutil.py, add IntroduceDomain, fix list to handle empty/non-existan...
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:19:39 +0000 (15:19 +0000)]
Move xshandle to xsutil.py, add IntroduceDomain, fix list to handle empty/non-existant directories and fix Remove.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 15:05:49 +0000 (15:05 +0000)]
merge?

20 years agoFix the check that the argument count is even, for xenstore_write.
emellor@ewan [Tue, 13 Sep 2005 14:46:20 +0000 (15:46 +0100)]
Fix the check that the argument count is even, for xenstore_write.

20 years agoChange read and list to return None if key/dir doesn't exist.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 14:45:34 +0000 (14:45 +0000)]
Change read and list to return None if key/dir doesn't exist.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdded help line for dev-docs target.
emellor@ewan [Tue, 13 Sep 2005 14:42:34 +0000 (15:42 +0100)]
Added help line for dev-docs target.

20 years agoAdded isDevControllerClass so that XendDomainInfo does not need to store the same...
ewan@linford.intra [Tue, 13 Sep 2005 13:49:37 +0000 (14:49 +0100)]
Added isDevControllerClass so that XendDomainInfo does not need to store the same information internally.  This may soon go, depending on how useful controller.py turns out to be.

20 years agoRemoved {add,get}_{config,device}_handler in favour of using a simple dictionary...
ewan@linford.intra [Tue, 13 Sep 2005 13:48:22 +0000 (14:48 +0100)]
Removed {add,get}_{config,device}_handler in favour of using a simple dictionary directly.  Fix a misnamed variable blconfig that was supposed to refer to blcfg.  This showed up under pylint as a undefined variable, but would have manifested itself in the bootloader configuration being ignored.

20 years agoAdded .PHONY target so that make works from the tools/python directory (it was seeing...
ewan@linford.intra [Tue, 13 Sep 2005 13:43:18 +0000 (14:43 +0100)]
Added .PHONY target so that make works from the tools/python directory (it was seeing the build directory and therefore doing nothing).

20 years agoPass the root directory to Doxyfilter and thence pythfilter.py so that the latter...
ewan@linford.intra [Tue, 13 Sep 2005 13:42:21 +0000 (14:42 +0100)]
Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.

20 years agoPass the root directory to Doxyfilter and thence pythfilter.py so that the latter...
ewan@linford.intra [Tue, 13 Sep 2005 13:41:05 +0000 (14:41 +0100)]
Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.

20 years agoThis trivial patch makes sure that mem-map.sxp and the qemu bits
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:49:04 +0000 (10:49 +0000)]
This trivial patch makes sure that mem-map.sxp and the qemu bits
get installed in /usr/lib64 on distributions that want things
there.

Signed-off-by: Rik van Riel <riel@redhat.com>
20 years agoUpdate ignores list for new xenstore binaries.
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:42:15 +0000 (10:42 +0000)]
Update ignores list for new xenstore binaries.

20 years agosynch_bitops.h is an arch-specific header file.
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:40:29 +0000 (10:40 +0000)]
synch_bitops.h is an arch-specific header file.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoNewer binutils is a bit stricter and errors out when you try
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:21:22 +0000 (10:21 +0000)]
Newer binutils is a bit stricter and errors out when you try
to use movl on a 16 bit word on x86_64.  Using just a "mov"
compiles fine and should result in the same code.

{standard input}: Assembler messages:
{standard input}:2138: Error: suffix or operands invalid for `mov'
{standard input}:2140: Error: suffix or operands invalid for `mov'
{standard input}:2142: Error: suffix or operands invalid for `mov'
{standard input}:2144: Error: suffix or operands invalid for `mov'

Signed-off-by: Rik van Riel <riel@redhat.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:14:20 +0000 (10:14 +0000)]
merge?

20 years agoFixed consoled race condition.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:13:52 +0000 (10:13 +0000)]
Fixed consoled race condition.
Signed-off by: Andy Peace <andrew.peace@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agodomain_crash_synchronous() on x86_64 causes Xen to crash because
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:12:40 +0000 (10:12 +0000)]
domain_crash_synchronous() on x86_64 causes Xen to crash because
it tries to dereference an invalid stack address. The patch below
fixes this. The patch also updates show_registers() to print the
same information as its x86_32 equivalent.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoPrevent opening the xenbus device if the store isn't connected yet.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:05:49 +0000 (10:05 +0000)]
Prevent opening the xenbus device if the store isn't connected yet.
Running xenstore clients using the xenbus device before the store
connection has been set up causes a crash because the store page
won't have been allocated yet.  This is only a problem in dom0 where
we setup the store page from the PRIVCMD_INITDOMAIN_STORE ioctl.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:11:58 +0000 (09:11 +0000)]
merge?

20 years agoFix a bug in shadow_remove_all_access_in_page.
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:09:59 +0000 (09:09 +0000)]
Fix a bug in shadow_remove_all_access_in_page.

Fixes a fairly obvious bug, in which an if statement was reversed.  The
bug has been present for a while, so apparently this code isn't well
tested.

Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
20 years agoFix up testsuite from recent changes.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:09:13 +0000 (09:09 +0000)]
Fix up testsuite from recent changes.

(1) Make TESTDIR relative (my directory exceeded 108 chars, breaking sockets)
(2) Make TESTDIR if it doesn't exist
(3) Add dummy xc_domain_getinfo and xc_evtchn_bind_virq for fake libxc
(4) Fix tests broken by b594bb976a743d509f1ffabb5bc698874ab90d8f
(5) domain_cleanup() can be static, as it's not used elsewhere.
(6) With -Werror, "use" unused variable in domain_init() if TESTING
(7) Remove debugging printf on watch without perms.
(8) Loosen timeout in xs_test (valgrind + slow machine == bogus timeouts)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPut xenstored.h in linux-public include dir.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 08:35:41 +0000 (08:35 +0000)]
Put xenstored.h in linux-public include dir.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways allow overriding where clients connect through XENSTORED_PATH.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 21:42:26 +0000 (21:42 +0000)]
Always allow overriding where clients connect through XENSTORED_PATH.
Detect if we're connecting to a socket or to the domain device and
open accordingly.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoChange xenbus_dev interface from ioctl to read/write.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 21:12:16 +0000 (21:12 +0000)]
Change xenbus_dev interface from ioctl to read/write.
Check boundaries so we can recover if userspace dies.
Also simplifies libxenstore.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd xenstore-list and xenstore-exists clients
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:46:37 +0000 (20:46 +0000)]
Add xenstore-list and xenstore-exists clients
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCheck the return value of chdir(2) and write(2).
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:24:58 +0000 (20:24 +0000)]
Check the return value of chdir(2) and write(2).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:00:41 +0000 (20:00 +0000)]
merge?

20 years agoSwitch vtpm device setup/teardown over to xstransact.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:59:40 +0000 (19:59 +0000)]
Switch vtpm device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch block device setup/teardown over to xstransact.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:55:57 +0000 (19:55 +0000)]
Switch block device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove debug output.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:49:59 +0000 (19:49 +0000)]
Remove debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove block device bind/unbind into hotplug scripts.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:49:03 +0000 (19:49 +0000)]
Move block device bind/unbind into hotplug scripts.
Fixes file: devices since unbind now runs after the backend driver
closes the loopback device.
Also moves name -> node translation into the backend domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't remove backend store directory before device_unregister.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:46:30 +0000 (19:46 +0000)]
Don't remove backend store directory before device_unregister.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoExport backend device store path to hotplug script.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:45:54 +0000 (19:45 +0000)]
Export backend device store path to hotplug script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThis patch remove the L2 pin for 1:1 page table on control panel.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 17:48:07 +0000 (17:48 +0000)]
This patch remove the L2 pin for 1:1 page table on control panel.
L2 pin for 1:1 page table on control panel cause entries for top 64M
address changed by alloc_l2_table().

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
20 years agoThe last vnet patch was missing some files that had been added
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 14:11:59 +0000 (14:11 +0000)]
The last vnet patch was missing some files that had been added
to my tree but did not appear in 'hg diff'. This patch adds them.

Signed-off-by: Mike Wray <mike.wray@hp.com>
20 years agoRe-indent xc_linux_restore, and add code to force PAE
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:48:33 +0000 (12:48 +0000)]
Re-indent xc_linux_restore, and add code to force PAE
root pgdirs below 4GB on restore.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:32:20 +0000 (12:32 +0000)]
merge?

20 years agoAlways fire watches, even on the connection which caused the watch to fire.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:31:41 +0000 (12:31 +0000)]
Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoXen_version hypercalls takes two args, not one.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:29:40 +0000 (12:29 +0000)]
Xen_version hypercalls takes two args, not one.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomlock argument to version hypercall in libxc.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:17:31 +0000 (12:17 +0000)]
mlock argument to version hypercall in libxc.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoImprove debug tracing from HYPERVISOR_memory_op().
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:10:43 +0000 (12:10 +0000)]
Improve debug tracing from HYPERVISOR_memory_op().

Signed-off-by: Ian Pratt <ian@xensource.com>
20 years agoremoving XEN_LOCALVERSION for a smaller alternative
vh249@arcadians.cl.cam.ac.uk [Mon, 12 Sep 2005 10:54:30 +0000 (10:54 +0000)]
removing XEN_LOCALVERSION for a smaller alternative

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years ago"Added."
ewan@linford.intra [Sun, 11 Sep 2005 20:40:15 +0000 (21:40 +0100)]
"Added."

20 years agoAdded dev-docs target to build the Python Tools' API documentation.
ewan@linford.intra [Sun, 11 Sep 2005 20:12:40 +0000 (21:12 +0100)]
Added dev-docs target to build the Python Tools' API documentation.

20 years agoAdded docs/api.
ewan@linford.intra [Sun, 11 Sep 2005 20:11:47 +0000 (21:11 +0100)]
Added docs/api.

20 years agoAdded dev-docs target, which passes through to the docs Makefile.
ewan@linford.intra [Sun, 11 Sep 2005 20:10:38 +0000 (21:10 +0100)]
Added dev-docs target, which passes through to the docs Makefile.

20 years agoRe-indent vmx code.
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:44:23 +0000 (16:44 +0000)]
Re-indent vmx code.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoYes, that fixes the problem, our patches crossed. I saw Keir already
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:36:24 +0000 (16:36 +0000)]
Yes, that fixes the problem, our patches crossed. I saw Keir already
integrated my patch and while it is harmless, it is redundant and
here is the diff to take it out.

The patch also addresses some indent problems and aligns instructions
up with the rest of the block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoadd XEN_LOCALVERSION to the dist building process
vh249@arcadians.cl.cam.ac.uk [Sun, 11 Sep 2005 16:34:38 +0000 (16:34 +0000)]
add XEN_LOCALVERSION to the dist building process

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoAn FC4/i386 install inside VMX on an x86_64 system fails because byte
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 09:28:21 +0000 (09:28 +0000)]
An FC4/i386 install inside VMX on an x86_64 system fails because byte
size is not handled by __set_reg_value. This patch adds that support.

This patch also reindents Chengyuan Li cmpb patch so that is aligns
with the rest of the code in that block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoRestore NULL checks before calling kfree().
cl349@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 20:14:50 +0000 (20:14 +0000)]
Restore NULL checks before calling kfree().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoadd a simple usage string to xenconsoled
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:44:31 +0000 (14:44 +0000)]
add a simple usage string to xenconsoled

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agofix ballooning out logic to handle dying domain freeing memory.
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:43:46 +0000 (14:43 +0000)]
fix ballooning out logic to handle dying domain freeing memory.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agouse XEN_FULLVERSION variable where possible
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:42:39 +0000 (14:42 +0000)]
use XEN_FULLVERSION variable where possible

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoremove pointless NULL check before calling kfree
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:41:16 +0000 (14:41 +0000)]
remove pointless NULL check before calling kfree

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoconvert initializers to C99 initializers
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:38:01 +0000 (14:38 +0000)]
convert initializers to C99 initializers

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoWith this patch, 32-bit binary can work on 64-bit VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:24:39 +0000 (14:24 +0000)]
With this patch, 32-bit binary can work on 64-bit VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
20 years agoThis patch fixes xenlinux timer interrupt.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:22:12 +0000 (14:22 +0000)]
This patch fixes xenlinux timer interrupt.

In xenlinux timer interrupt variable cpu is sometimes uesd in a for
loop, but later it is used to access per cpu data i.e.
per_cpu(processed_system_time, cpu), which causes an invalid pointer.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoThis patch fix a bug in set_reg_value() for x86_64 VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:20:29 +0000 (14:20 +0000)]
This patch fix a bug in set_reg_value() for x86_64 VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoOne more instruction for the VMX MMIO decoder.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:19:09 +0000 (14:19 +0000)]
One more instruction for the VMX MMIO decoder.
This patch is to handle the instruction with opcode 0x80.
Without this patch, the 64-bit VMX guest can't boot.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoFix bug that service os & vmx guest can't communicate with
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:17:02 +0000 (14:17 +0000)]
Fix bug that service os & vmx guest can't communicate with
each other. The bug was physical packets smaller than
minimal packet size of 60 bytes were gettign thrown away.
Hence ARP traffic for example was dropped.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoFix xm info handling of empty strings (fix bugzilla bug #216)
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 23:11:18 +0000 (15:11 -0800)]
Fix xm info handling of empty strings (fix bugzilla bug #216)

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix 'xm info' (sizeof(param) doesn't do that one might hope).
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 18:36:48 +0000 (10:36 -0800)]
Fix 'xm info' (sizeof(param) doesn't do that one might hope).

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:40:39 +0000 (17:40 +0000)]
merge?

20 years agoMake vif cleanup use xstransact and use classmethods for setup.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:36:39 +0000 (17:36 +0000)]
Make vif cleanup use xstransact and use classmethods for setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd remove and list support. Also make all class methods "safe".
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:34:40 +0000 (17:34 +0000)]
Add remove and list support.  Also make all class methods "safe".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoOnly retry transactions which fail from timeout.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:03:34 +0000 (17:03 +0000)]
Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agocommon/kernel.o contains changeset/compiler info.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:26:20 +0000 (16:26 +0000)]
common/kernel.o contains changeset/compiler info.
Blow away on every build.

20 years agocleanups
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:17:17 +0000 (16:17 +0000)]
cleanups

20 years agoSetup network devices in xenstore using xstransact.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:08:17 +0000 (16:08 +0000)]
Setup network devices in xenstore using xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove dependency between domain db and path/uuid.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:07:26 +0000 (16:07 +0000)]
Remove dependency between domain db and path/uuid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways start transactions on an existing path.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:06:04 +0000 (16:06 +0000)]
Always start transactions on an existing path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThe patch allows the shadow mode code to support >4GB physical memory. I
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 15:52:52 +0000 (15:52 +0000)]
The patch allows the shadow mode code to support >4GB physical memory. I
tested VMX domains on an x86_64 machine with >4GB; it fails without this
change. This should be applicable to PAE as well.

This patch is good for up to 32GB RAM.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoAdd more version and capability reporting to Xen. Print the results with 'xm info'.
iap10@freefall.cl.cam.ac.uk [Fri, 9 Sep 2005 15:33:32 +0000 (15:33 +0000)]
Add more version and capability reporting to Xen. Print the results with 'xm info'.
Signed-off-by: ian@xensource.com
20 years agopagefault handler fixes.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:28:23 +0000 (13:28 +0000)]
pagefault handler fixes.

20 years agoAdd simple transactional read/write python xenstore interface.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:20:51 +0000 (13:20 +0000)]
Add simple transactional read/write python xenstore interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake error reporting consistent.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:08:25 +0000 (13:08 +0000)]
Make error reporting consistent.
Also note addition of Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
which slipped in in previous merge changeset:  allow other threads
to run during communication with xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 10:20:25 +0000 (10:20 +0000)]
merge?

20 years agoXenbus implementation ported from Linux to Mini-os, simple thread support introduced
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:24:25 +0000 (09:24 +0000)]
Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
20 years agoFix blkfront request completion.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:13:45 +0000 (09:13 +0000)]
Fix blkfront request completion.

20 years agoIt was suggested on the xen-users list that it would be useful if the
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:07:59 +0000 (09:07 +0000)]
It was suggested on the xen-users list that it would be useful if the
loopback driver could instantiate an arbitrary number of interfaces, so
the attached patch does that.

[Also retab at the same time]

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:38 +0000 (08:56 +0000)]
merge?

20 years agotpmback compilation fix.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:14 +0000 (08:56 +0000)]
tpmback compilation fix.
A small patch to fix some compilation problems and debugging output.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBug fix on x86_64 increase_reservation
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 20:39:58 +0000 (20:39 +0000)]
Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
20 years agoTest CD needs devfs
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 19:14:51 +0000 (19:14 +0000)]
Test CD needs devfs
Signed-off-by: ian@xensource.com
20 years agoNo need to qsort the pfn array in domu builder.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:47:48 +0000 (17:47 +0000)]
No need to qsort the pfn array in domu builder.